<?php

namespace Api\Controller;

use Think\Controller;


class HelperController extends Controller {

    public function qrcode() {
        ob_clean();
        $text = I('text');
        vendor('phpqrcode.phpqrcode');
        $QRcode = new \QRcode();
        $QRcode::png($text, false, 'H', 10, 1);
    }

}
